﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<meta property="qc:admins" content="04031716534635145451305267277" />
	<!--{echo formatPageSeo()}-->
	<link rel="icon" href="{$_FANWE['site_root']}favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="./public/js/jquery.js"></script>
	<?php
		$default_js[] = './public/js/jquery.cookie.js';
                $default_js[] = './public/js/jquery.easing.js';
		$default_js[] = './public/js/jquery.lazyload.js';
                $default_js[] = './public/js/base.js';
	?>
	<script type="text/javascript" src="{script $default_js}"></script>
	<?php
		$current_css[] = './tpl/css/reset.css';
		$current_css[] = './tpl/css/base.css';
		$current_css[] = './tpl/css/globe.css';
		$current_css[] = './tpl/css/publishbox.css';
		$current_css[] = './tpl/css/lightbox.css';
		$current_css[] = './tpl/css/addfav.css';
		$current_css[] = './public/js/jqueryui/jquery.ui.css';
	?>
	<link rel="stylesheet" type="text/css" href="{css $current_css}" media="all"/>
	<!--{loop $css_list $css}-->
	<link rel="stylesheet" type="text/css" href="{css $css['url']}"{if !empty($css['media'])} media="{$css['media']}"{/if} />
	<!--{/loop}-->
	<script type="text/javascript">
		var SITE_PATH = '$_FANWE[site_root]';
		var SITE_URL = '$_FANWE[site_url]';
		var TPL_PATH = '{TPL_PATH}';
		var PUBLIC_PATH	 = '{PUBLIC_PATH}';
		var MODULE_NAME	 = '{MODULE_NAME}';
		var ACTION_NAME	 = '{ACTION_NAME}';
		var COOKIE_PRE = "$_FANWE['config']['cookie']['cookie_pre']";
		var HEADER_TOP_HEIGHT = 85;
		<!--{dynamic dynamicScript}-->
		function search_type(type) {
		    $('#searchtypes').children().each(function(index, obj){
		        if('type_' + type == $(obj).attr('id')) {
		            $(obj).addClass('current');
		            $('#action').val(type);
		        } else {
		            $(obj).removeClass('current');
		        }
		    });
		}
	</script>
	<!--{if isset($_FANWE['cache']['business']['taobao'])}-->
	<!--{if $_FANWE['cache']['business']['taobao']['is_tdj'] == 0}-->
	<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey={$_FANWE['cache']['business']['taobao']['app_key']}"></script>
	<style>
		#top-xdr{position:absolute;top:-2000;left:-2000;};
	</style>
	<!--{else}-->
	<script type="text/javascript">
		(function(win,doc){
			var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];
			if (!win.alimamatk_show) {
				s.charset = 'utf-8';
				s.async = true;
				s.src = "http://a.alimama.cn/tkapi.js";
				s.kslite = "";
				h.insertBefore(s, h.firstChild);
			}
			var o = {
				pid: "{$_FANWE['cache']['business']['taobao']['tk_pid']}",
				appkey:"{$_FANWE['cache']['business']['taobao']['app_key']}"
			}
			win.alimamatk_onload = win.alimamatk_onload || [];
			win.alimamatk_onload.push(o);
		})(window,document);
	</script>
	<!--{/if}-->
	<!--{/if}-->
</head>
<body>
	<div id="head" style="width:100%">
	
		<div id="info_bar">
			<div class="fm960" style="width:1200px;">
				<div class="fl">
					<a href="{u index}"><img class="logo fl" src="{$_FANWE['site_root']}{$_FANWE['setting']['site_logo']}" /></a>
				</div>
				<!--{dynamic getUserInfo}-->
			</div>
		</div>
	</div>
	<div class="search_navi_left " id="searchbox">
		<div id="searchtypes" class="search_tab clearfix">
			<a id="type_product"{if MODULE_NAME!='Search' || !isset($_GET['action']) || ACTION_NAME == 'product'} class="current"{/if} href="javascript:;" onclick="search_type('product')">产品</a>
			<a id="type_article"{if MODULE_NAME=='Search' && ACTION_NAME == 'article'} class="current"{/if} href="javascript:;" onclick="search_type('article')">文章</a>
			<a id="type_all"{if MODULE_NAME=='Search' && ACTION_NAME == 'all'} class="current"{/if} href="javascript:;" onclick="search_type('all')">分享</a>
		</div>
		<form method="get" action="{u search/index}" id="search_form_box" class="search_form_box">
			<input type="text" value="{$keyword}" name="keyword" class="search_input" tooltip="{lang search_share}">
			<input type="hidden" id="action" name="action" value="{if MODULE_NAME=='Search' && isset($_GET['action'])}{ACTION_NAME}{else}product{/if}" />
			<input type="submit" value="搜  索" class="search_btn">
		</form>
	</div>
	<div id="nav_bar" class="HEADER_TOP_SCROLL" style=" width:100%;">
		<div class="fm960" style="width:1200px;">
			<ul class="fl">
				<li class="f"><a href="{u index}"{if MODULE_NAME == 'Index'} class="c"{/if}>{lang page_index}</a></li>
				<?php
					$g_r_cate = $_FANWE['cache']['goods_category']['root'];
					$g_r_cate = &$_FANWE['cache']['goods_category']['all'][$g_r_cate];
				?>
				<li><a href="{u album}"{if MODULE_NAME == 'Album'} class="c"{/if}>{lang common/album}</a></li>
                <!--{loop $_FANWE['cache']['goods_category']['index'] $h_i_cate}-->
				<!--{eval $h_i_cate = $_FANWE['cache']['goods_category']['all'][$h_i_cate];}-->
				<li><a target="_blank" href="{if $h_i_cate['cate_type'] == 0}{u article/index cate=$h_i_cate['cate_id']}{elseif $h_i_cate['cate_type'] == 1}{u product/list cate=$h_i_cate['cate_id']}{elseif $h_i_cate['cate_type'] == 2}{u book/cate cate=$h_i_cate['cate_code']}{/if}" class="c">{$h_i_cate['cate_name']}</a></li>
				<!--{/loop}--> 
			</ul>	   
			<div class="fr">			
				<a href="{u u/me}" style="line-height:39px; color:#FFFFFF; font-size:14px; font-weight:800">我的图片</a>
			</div>
			
		</div>
	</div>
	<div id="body_wrap">